#pragma once
#include <stdlib.h>
#include <stdio.h>
#include <assert.h>

typedef int HPDataType;
typedef struct Heap
{
	HPDataType* a;
	int size;
	int capacity;
}Heap;

void HPInit(Heap* php);
void HPDestroy(Heap* php);

void HPPush(Heap* php, HPDataType x);
void HPPop(Heap* php);
void HPPrint(Heap* php);
